/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 系统配置信息
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TConfig")
public class TConfig implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private short id;
	
	private short Alarm;//库存报警设置TINYINT0为不报警 1为报警下阀值 2为报警上阀值 3为全部报警

	private int TaxRate;//税率 单位为%INTEGER
	
	private boolean ReCalTaxPrice;//当开出发票时是否按税率重新计算价格boolean

	private String Client;//客户端标示
	
	private String barCodePrintName;//条码打印机名称
	
	private String smallPrintName;//小票打印机名称
	
	private String sellStoreID;//销售仓库编号
	
	private Integer printNum;//打印份数
	
	private String sqlPath;//sql安裝目錄
	@Id
	@GeneratedValue
	public short getId() {
		return id;
	}

	public void setId(short id) {
		this.id = id;
	}

	@Column(name = "Alarm")
	public short getAlarm() {
		return Alarm;
	}

	public void setAlarm(short alarm) {
		Alarm = alarm;
	}

	@Column(name = "TaxRate")
	public int getTaxRate() {
		return TaxRate;
	}

	public void setTaxRate(int taxRate) {
		TaxRate = taxRate;
	}

	@Column(name = "ReCalTaxPrice", precision = 20, scale = 3)
	public boolean isReCalTaxPrice() {
		return ReCalTaxPrice;
	}

	public void setReCalTaxPrice(boolean reCalTaxPrice) {
		ReCalTaxPrice = reCalTaxPrice;
	}
	@Column(name = "Client",length=15)
	public String getClient() {
		return Client;
	}

	public void setClient(String client) {
		Client = client;
	}
	@Column(name = "barCodePrintName",length=30)
	public String getBarCodePrintName() {
		return barCodePrintName;
	}

	public void setBarCodePrintName(String barCodePrintName) {
		this.barCodePrintName = barCodePrintName;
	}
	@Column(name = "smallPrintName",length=30)
	public String getSmallPrintName() {
		return smallPrintName;
	}

	public void setSmallPrintName(String smallPrintName) {
		this.smallPrintName = smallPrintName;
	}
	@Column(name = "sellStoreID",length=15)
	public String getSellStoreID() {
		return sellStoreID;
	}

	public void setSellStoreID(String sellStoreID) {
		this.sellStoreID = sellStoreID;
	}

	@Column(name = "printNum",length=6)
	public Integer getPrintNum() {
		return printNum;
	}

	public void setPrintNum(Integer printNum) {
		this.printNum = printNum;
	}

	@Column(name = "sqlPath")
	public String getSqlPath() {
		return sqlPath;
	}

	public void setSqlPath(String sqlPath) {
		this.sqlPath = sqlPath;
	}
}
